{% extends "kit" %}

{% block main %}
    <h2>Kit {{ kit.getid }} {{ kit.getversion }} </h2>
    <p>{{ kit.getdescription }}</p>

{% include "_kit_status" %}

    {% if kit.getlink %}<p><a href="{{ kit.link }}">web site</a></p>{% endif %}

    {% if kit.phpversion %}
        <p>PHP versions supported : {{ kit.phpversion }}</p>
    {% endif %}

    {% if kit.listsubkits %}{% include "kitlist" kits=kit.getsubkits %}{% endif %}

    {% include "_addkitform" %}

    {% if kit.dependencies %}<div class="dependencies">
    <h3>Required Kits</h3>
    {% include "kitlist" kits=kit.dependencies %}
    </div>{% endif %}

    {% if cfg.load_files %}<div class="files">
    <h3>Included library files</h3>
    <dl>{% for file in cfg.load_files %}
        <dt>{{ file }}</dt>{% endfor %}
    </dl>
    </div>{% endif %}

    {% comment %}<p>view kit</p>
    <pre>{{ kit|dump }}</pre>{% endcomment %}
{% endblock %}
